package sch.frog.creational.builderpattern.product.A;

import sch.frog.creational.builderpattern.product.IPartTwo;
import sch.frog.creational.builderpattern.product.IProduct;

public class AProduct implements IProduct {

    private APartTwo aPartTwo;

    private String name;

    private int value;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    @Override
    public IPartTwo getPartTwo() {
        return this.aPartTwo;
    }

    public void setaPartTwo(APartTwo aPartTwo) {
        this.aPartTwo = aPartTwo;
    }
}
